package com.frejoys.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.frejoys.common.vo.app.StoreEnterListVo;
import com.frejoys.dao.entity.StoreEnter;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StoreEnterMapper extends BaseMapper<StoreEnter> {

    @Select("select id from j_store_enter where user_id = #{userId}")
    Integer hasData(@Param("userId") Long userId);
}
